<?php include load_tpl('header');?>
<p id="breadcrumbs">
    <a href="/">首页</a> <b>»</b> 
    <span>属性值管理</span>
</p>

<div class="box">
  <div class="left"></div>
  <div class="right"></div>
  <div class="heading">
    <h1 style="background-image: url('./images/shipping.png');">属性值列表</h1>
  </div>
  <div class="content">
   <form action="" method="post" id="form">
     <table class="form">
          <tr>
            <td><span class="required">*</span>属性值名称:</td>
			<td align="left"><input type="text" name="name" value="<?php if(isset($av_arr['value'])) echo $av_arr['value'];?>" />
			</td>
          </tr>
          <tr>
            <td>属性组:</td>
            <td align="left"><select name="attribute_group_id">
			<?php if(isset($attr_select)) echo $attr_select;?>
		  </select></td>
          </tr>
		  <tr>
		  <td colspan="2"><div class="buttons"><a onclick="$('#form').submit();" class="button"><span>添加</span></a></div></td>
		  </tr>
        </table>
		<input type="hidden" name="attr_value_id" value="<?php if(isset($attr_value_id)) echo $attr_value_id;?>"/>
		<input type="hidden" name="attr_id" value="<?php if(isset($attr_id)) echo $attr_id;?>"/>
	  </form>
</div>

<?php include load_tpl('footer');?>
<script type="text/javascript">
</script>